<template>
    <view>profile</view>
    <navigator open-type="navigateBack" delta=3>返回上一页</navigator>
    <button @click="hadleGlobalEvent">$emit</button>

</template>
<script setup>
import { onLoad } from '@dcloudio/uni-app';

onLoad((options) => {
    console.log(options);

})

const hadleGlobalEvent = () => {
    uni.$emit('aaa', 5, 4, 3)
}

</script>
